public class Remainder {
	public static void main(String[] args) {
		System.out.println(-5 % 6);
	}
}
